home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / jaxhost7.zip / HOST.BAT < prev    next >
DOS Batch File  |  1990-01-28  |  2KB  |  49 lines

  1. @echo off
  2. rem
  3. rem  A batch file for use with JaxHost and CTTY, or Doorway, or RemDoor
  4. rem
  5. c:
  6. rem CHANGE THE ABOVE DRIVE SPEC TO THAT ON WHICH JAXHOST RESIDES.
  7. cd\host
  8. rem CHANGE THE ABOVE DIRECTORY TO THAT IN WHICH JAXHOST RESIDES.
  9. if exist quit del quit
  10. if exist okay del okay
  11. jaxhost %1
  12. if exist quit goto done
  13. rem The above statement allows exit if you hit F1 or F2 within JaxHost.
  14. if not exist okay goto off
  15. del okay
  16. rem ************************************************************
  17. rem   Only one of the following 3 sets of statements to be "unREMed".
  18. rem   In choosing one alternative, make sure the other 2 alternatives
  19. rem     have REM at the beginning of each line.  Note: in its original
  20. rem     form this batch file is set up to invoke the 3rd, CTTY alternative.
  21. rem
  22. rem Alternative 1
  23. rem Delete the REM in the line below, only if you wish to use Doorway
  24. rem doorway COM1 /g:on /m:100 /O: /S:* /v:d^U /R:^X /c:dos
  25. rem
  26. rem Alternative 2
  27. rem Delete the REM in the line below, only if you wish to use REMDOOR
  28. rem remdoor 1
  29. rem
  30. rem Alternative 3
  31. rem WATCHDOG line below needed to reboot system if carrier lost. See JAXHOST.DOC
  32. rem Delete the REMs in the 5 lines below only if you wish to use CTTY
  33. WATCHDOG +
  34. CTTY COM1
  35. ECHO To logoff, type EXIT and hit (ENTER).
  36. C:\COMMAND
  37. CTTY CON
  38. rem ************************************************************
  39. :off
  40. WATCHDOG -
  41. rem  The above line not needed if not using WATCHDOG.  See JAXHOST.DOC
  42. jaxhost o
  43. rem   The above line invokes JaxHost with the O parm to cause logoff and
  44. rem     to drop DTR.
  45. rem   And the line below re-invokes this batch file from the beginning so
  46. rem     that JaxHost will recycle to await the next call.
  47. %0 %1
  48. :done
  49.